package com.vivachek.protocol.utils


/**
 * @Author: YCB
 * @Time: 2022/9/29 15:44
 * @Email: congbin.yuan@vivachek.com
 * @Description: 数据解析固定格式工具类
 *
 */
internal object ResultUtil {

    fun convert(glu:Float):String{
        return String.format("%.1f",glu)
    }

    fun fullZero(value:Int):String{
        return String.format("%02d", value)
    }
}